package evi.com.evi.utils;

/**
 * Created by sunyu on 2017/3/9.
 */

public class ContentUtils {
    //百度推送信息
    public final static String APP_ID = "9416573";

    //基本接口
//    public static final String base_url = "http://szeiv.com/RailwayService";
    public static final String base_url = "http://119.23.134.10:80/RailwayService";
//    public static final String base_url = "http://192+.168.188.48:8080";

    //获取登录用的RSA加密公钥
    public static final String RSA_url = base_url + "/common/rsaKey";
    //APP令牌形式获取登录用的加密盐
    public static final String tokenSalt_url = base_url +"/merchant/tokenSalt";
//    public static final String tokenSalt_url = base_url +"/common/tokenSalt";
    //手机号/密码登录
    public static final String login_url = base_url +"/merchant/login";
    //发送短信验证码
    public static final String message_url = base_url +"/merchant/sendShortMessage";
    //短信验证码登录
    public static final String message_login_url = base_url + "/merchant/shortMessageLogin";
    //短信验证码改密
    public static final String message_change_url = base_url + "/merchant/changePasswordByPhoneNo";
    //APP令牌退出登录
    public static final String quit_url = base_url + "/merchant/tokenLogout";
//    public static final String quit_url = base_url + "/common/tokenLogout";
    //营业额接口
    public static final String achievement_url = base_url + "/merchantmen/achievement";
    //查询评价接口

    public static final String queryComment_url = base_url + "/merchantmen/queryComment";
    //查询待接单
    public static final String queryWaitOrder_url = base_url + "/merchantmen/queryWaitOrders";
    //查询待取货的订单
    public static final String queryAcceptOrder_url = base_url + "/merchantmen/queryAcceptOrders";
    //查询历史订单
    public static final String queryHistOrder_url = base_url +"/merchantmen/queryHistoryOrders";
    //更新商户信息接口
    public static final String updateMerchant_url = base_url + "/merchantmen/updateMerchant";
    //获取商户信息接口
    public static final String getMerchantInfo_url = base_url + "/merchantmen/getMerchantInfo";
    //商品信息接口
    public static final String merchantCategoryProducts_url = base_url + "/product/merchantCategoryProducts";
    //商品添加分类接口
    public static final String addProductCategory_url = base_url + "/productCategory/addProductCategory";
    //商品修改分类接口
    public static final String updateProductCategory_url = base_url + "/productCategory/updateProductCategory";
    //商品移动分类接口
    public static final String swapProductCategorySort_url = base_url + "/productCategory/swapProductCategorySort";
    //商品删除分类接口
    public static final String deleteProductCategory_url = base_url + "/productCategory/deleteProductCategory";
    //商品添加接口
    public static final String addProduct_url = base_url + "/product/add";
    //商品修改接口
    public static final String updateProduct_url = base_url + "/product/update";
    //商品开售、停售接口
    public static final String updateProductStatus_url = base_url + "/product/updateProductStatus";
    //商品图片修改接口
    public static final String productUpdateImage_url = base_url + "/product/updateImage";
    //判断是否登录过
    public static final String tokenUser_url = base_url + "/merchant/tokenUser";
//    public static final String tokenUser_url = base_url + "/common/tokenUser";


    //订单处理  处理定单：确认接单、拒绝订单、顾客已到店取货、同意取消定单、拒绝取消定单。
    public static final String dealOrder_url = base_url +"/merchantmen/dealOrderByStatus";

    //商户信息图片修改接口
    public static final String updateImage_url = base_url + "/merchantmen/updateImage";

    //心跳接口
    //参数：channelId
    //deviceType：ios或者android
    //status 当前状态：6001 休息 6002 工作
    public static final String heart_break_url = base_url + "/channel/merchantHeartBreak";

    //设置工作状态接口
    //参数：channelId
    //deviceType：ios或者android
    //status 当前状态：6001 休息 6002 工作
    //该接口与心跳接品的区别是：会设置Merchant和ServiceProvider表的status字段
    public static final String set_work_status_url = base_url + "/channel/merchantWorkStatus";
}
